# lf2-survival-stage-generator

This project is an old Java program I wrote years ago. I thought I had lost the code, but was able to decompile the .class of the project, that I found.

# Changes

After rediscovering my source code from the decompiled .class files, I made the following changes:

## Remove GUI

I have no need for a GUI and the GUI prevented the decompilation code from working.

## Refactoring

I removed unused variables or actually made use of them in their intended places, when I recognized those quickly. Some of them were created by the decompilation and some of them were created by me years ago, without actually making use of their associated values.

# Future plans

I intend to rewrite this program in GNU Guile. I should be able to write a much cleaner version of it, enabling more functionality and better generated survival stages, once I grok the old logic of this program. However, it currently does at least a decent job and is usable in its current state.

# Usage

Currently I do not exactly know how the program can be used outside of an IDE, but it is probably quite trivially possible. For now I open it as a Java project in Eclise and run it there. Most likely there is some single command, which would achieve the same thing. If I learn how to do that, I will add that command here.

The code of this project uses very basic Java language constructs, so it should remain runnable in any modern Java version.
